﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIPSDk.Data
{
    public enum CallState
    {
        /// <summary>
        /// 尝试通话
        /// </summary>
        TryCall,
        /// <summary>
        /// 呼叫失败
        /// </summary>
        CallFailed,
        /// <summary>
        /// 正在响铃
        /// </summary>
        CallRing,
        /// <summary>
        /// 正在通话
        /// </summary>
        Calling,
        /// <summary>
        /// 通话结束
        /// </summary>
        CallEnd,
    }

    public enum CallType
    {
        UNKNOWN,
        OUTBOUND,
        INBOUND,
        MISSED,
        DECLINED
    }

    public enum TelephonyState
    {
        NotRegistered,
        Free,
        Call,
        OnHold,
    }
}
